import request from '@/utils/request'
export const rankApi = (businessId) => request({
  url: '/order-service/report/skuTop/10/2023-03-01/2023-03-14'
  // url:`/vm-service/sku/businessTop10/${businessId}`
})
// 合作商点位数
export const nodeCollectApi = () => request({
  url: '/vm-service/node/nodeCollect'
})
// 工单统计
export const stasumApi = () => request({
  url: '/task-service/task/taskReportInfo/2023-03-01%2000:00:00/2023-03-16%2023:59:59'
})
// 盒子3 周1
export const weekamountCollect = () => request({
  url: '/order-service/report/amountCollect/1/2023-03-13/2023-03-17'
})
// 周2
export const weekregionCollect = () => request({
  url: '/order-service/report/regionCollect/2023-03-13/2023-03-17'
})
// 月1
export const mouthamountCollect = () => request({
  url: '/order-service/report/amountCollect/1/2023-03-01/2023-03-17'
})
// 月2
export const mouthregionCollect = () => request({
  url: '/order-service/report/regionCollect/2023-03-01/2023-03-17'
})
// 年1
export const yearamountCollect = () => request({
  url: '/order-service/report/amountCollect/2/2023-01-01/2023-03-17'
})
// 年2
export const yearregionCollect = () => request({
  url: '/order-service/report/regionCollect/2023-01-01/2023-03-17'
})
// 订单量
export const ordercount = () => request({
  url: 'order-service/report/orderCount?start=2023-03-01+00:00:00&end=2023-03-18+23:59:59'
})
// 销售额
export const money = () => request({
  url: '/order-service/report/orderAmount?start=2023-03-01+00:00:00&end=2023-03-18+23:59:59'
})
